/*    */ package com.structure.proxy.dynamic;
/*    */ 
/*    */ import java.io.PrintStream;
/*    */ import java.lang.reflect.InvocationHandler;
/*    */ import java.lang.reflect.Method;
/*    */ 
/*    */ public class DynamicProxyHandler
/*    */   implements InvocationHandler
/*    */ {
/*    */   private Object object;
/*    */ 
/*    */   public DynamicProxyHandler(Object object)
/*    */   {
/* 12 */     this.object = object;
/*    */   }
/*    */ 
/*    */   public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
/*    */   {
/* 17 */     Object result = method.invoke(this.object, args);
/* 18 */     System.out.println("获得售后服务");
/* 19 */     return result;
/*    */   }
/*    */ }

/* Location:           C:\Users\lenovo\Desktop\DesignMode.jar
 * Qualified Name:     com.structure.proxy.dynamic.DynamicProxyHandler
 * JD-Core Version:    0.6.2
 */